import request from "@/utils/request";

const baseURL = "/official-website/category";

export const listAppCategory = (
  categoryName: WebAppCategory["categoryName"] = ""
) =>
  request<Res<WebAppCategory[]>>({
    url: `${baseURL}/list-app-category`,
    method: "POST",
    data: {
      categoryName,
    },
  });
